﻿namespace NH3.Mapping
{
	using FluentNHibernate.Mapping;
	using NH3.Model;

	public class ArchitectMapping : SubclassMap<Architect>
	{
		public ArchitectMapping()
		{
			Table("Architetto");

			Map(a => a.Email);

			Map(a => a.Phone)
				.Column("Telefono");
		}
	}
}
